package com.victor9ac.mashup.usecase;

import com.victor9ac.mashup.api.Commentaries;
import com.victor9ac.mashup.port.CommentOperation;

public class CommentUseCase {

	CommentOperation commentOperation;
	
	public void setCommentOperation(CommentOperation commentOperation) {
		this.commentOperation = commentOperation;
	}

	public Commentaries getCommentsWithoutAnyFilter(String keyword){
		return commentOperation.getCommentariesFromKeyword(keyword);
	}

}
